package com.fjnu.fjnu_grade_demo.moudle;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;

@Repository
@AllArgsConstructor
@NoArgsConstructor
public class TotalGradeRankMoudle {

    private String userName;
    private int avgGpaRank;
    private BigDecimal avgGpa;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getAvgGpaRank() {
        return avgGpaRank;
    }

    public void setAvgGpaRank(int avgGpaRank) {
        this.avgGpaRank = avgGpaRank;
    }

    public BigDecimal getAvgGpa() {
        return avgGpa;
    }

    public void setAvgGpa(BigDecimal avgGpa) {
        this.avgGpa = avgGpa;
    }

    @Override
    public String toString() {
        return "TotalGradeRankMoudle{" +
                "userName='" + userName + '\'' +
                ", avgGpaRank=" + avgGpaRank +
                ", avgGpa=" + avgGpa +
                '}';
    }
}
